/**
 * @create 2022-05-21
 * @desc index
 */

.pro-table {
  :global {
    .ant-table-wrapper,
    .ant-spin-nested-loading,
    .ant-spin-container,
    .ant-table-container {
      height: 100%;
    }

    .ant-spin-container {
      display: flex;
      flex-direction: column;
    }

    .ant-table {
      flex: auto;
      height: 0;
      overflow: hidden;
    }

    .ant-table-pagination {
      flex: none;
      margin: 16px 20px;
    }

    .ant-table-body {
      max-height: calc(~"100% - 55px");
      overflow: auto!important;
    }
  }
}
